package com.car.dal.dao.goods;

import com.car.bean.GridObj;
import com.car.bean.OrderObj;
import com.car.bean.PageObj;
import com.car.dal.dao.ibatis.IbatisCommonDao;
import com.car.dal.object.GoodsName;

public class TgGoodsNameDaoImpl extends IbatisCommonDao<GoodsName, Long> implements TgGoodsNameDao {

    public GridObj GetList(GoodsName goodsName, PageObj pageObj) {
        OrderObj order = new OrderObj();
        order.setDir("desc");
        order.setSort("id");
        return super.findByPage(goodsName, pageObj, order);
    }

}
